Skip to content

Install CRDs in operator upgrade tests #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

lsierant
Copy link
Contributor

@lsierant lsierant commented Apr 30, 2025

Summary

Manually installing CRDs is required when the operator is installed because helm is not applying them if the CRDs already exist.

Apart from adding kubectl apply helm_chart/crds installation step, this PR adds always printing subprocess output even in successful runs.

Proof of Work

Green upgrade tests in general, but here this patch won't make much of a difference as there are no new CRDs.
But in another pipeline, when MongoDBSearch CRDs were added, the upgrade tests are failing - the operator is crashing due to lack of search CRDs.

After using this commit upgrade tests are green: link TBD

Checklist

  • Have you linked a jira ticket and/or is the ticket in the title?
  • Have you checked whether your jira ticket required DOCSP changes?
  • Have you checked for release_note changes?

Reminder (Please remove this when merging)

  • Please try to Approve or Reject Changes the PR, keep PRs in review as short as possible
  • Our Short Guide for PRs: Link
  • Remember the following Communication Standards - use comment prefixes for clarity:
    • blocking: Must be addressed before approval.
    • follow-up: Can be addressed in a later PR or ticket.
    • q: Clarifying question.
    • nit: Non-blocking suggestions.
    • note: Side-note, non-actionable. Example: Praise
    • --> no prefix is considered a question

@lsierant lsierant requested a review from a team as a code owner April 30, 2025 11:14
@lsierant lsierant force-pushed the lsierant/upgrade-tests-install-crds branch from bdeaf5f to 6829f1e Compare April 30, 2025 11:35
@lsierant lsierant force-pushed the lsierant/upgrade-tests-install-crds branch from b9ba56d to 25ba545 Compare April 30, 2025 13:41
@m1kola
Copy link
Contributor

m1kola commented May 15, 2025

@lsierant could you please rebase it this PR? I think we need this to fix some jobs on master.

@m1kola
Copy link
Contributor

m1kola commented May 15, 2025

Closing this to avoid confusion as it was rebased in #127

@m1kola m1kola closed this May 15, 2025
mircea-cosbuc added a commit that referenced this pull request May 16, 2025
# Summary

#63 rebased on
`master` branch.

## Proof of Work

<!-- Enter your proof that it works here.-->

## Checklist
- [ ] Have you linked a jira ticket and/or is the ticket in the title?
- [ ] Have you checked whether your jira ticket required DOCSP changes?
- [ ] Have you checked for release_note changes?

## Reminder (Please remove this when merging)
- Please try to Approve or Reject Changes the PR, keep PRs in review as
short as possible
- Our Short Guide for PRs:
[Link](https://docs.google.com/document/d/1T93KUtdvONq43vfTfUt8l92uo4e4SEEvFbIEKOxGr44/edit?tab=t.0)
- Remember the following Communication Standards - use comment prefixes
for clarity:
  * **blocking**: Must be addressed before approval.
  * **follow-up**: Can be addressed in a later PR or ticket.
  * **q**: Clarifying question.
  * **nit**: Non-blocking suggestions.
  * **note**: Side-note, non-actionable. Example: Praise 
  * --> no prefix is considered a question

---------

Co-authored-by: Łukasz Sierant <lukasz.sierant@mongodb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants